﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Simple.Repository.Migrations
{
    public partial class _9 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<int>(
                name: "Gender",
                table: "SysStudents",
                type: "int",
                maxLength: 128,
                nullable: false,
                comment: "性别",
                oldClrType: typeof(string),
                oldType: "nvarchar(128)",
                oldMaxLength: 128,
                oldComment: "性别");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "Gender",
                table: "SysStudents",
                type: "nvarchar(128)",
                maxLength: 128,
                nullable: false,
                comment: "性别",
                oldClrType: typeof(int),
                oldType: "int",
                oldMaxLength: 128,
                oldComment: "性别");
        }
    }
}
